package com.gluck.cases.common.utils.enums;

/**
 * @ClassName ShiroFilterLevelEnum
 * @Desc shiro 拦截级别配置
 * @Author I am Gluck
 * @Date 2022/5/18 - 10:32 上午
 **/
public enum ShiroFilterLevelEnum {
    ANNO("anno", "匿名拦截器，即不需要登录即可访问"),
    AUTHC("authc", "基于表单的拦截器"),
    AUTHC_BASIC("authcBasic", "Basic HTTP 身份验证拦截器"),
    LOGOUT("logout", "退出拦截器"),
    USER("user", "用户拦截器"),
    ;

    private String code;

    private String msg;

    ShiroFilterLevelEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
